package Server.junit;

import Server.map.Box;
import Server.map.BoxField;
import junit.framework.TestCase;

public class BoxFieldTest extends TestCase {

	private BoxField b;
	protected void setUp() throws Exception {
		super.setUp();
		this.b = new BoxField(5, 0, 4);
	}

	protected void tearDown() throws Exception {
		super.tearDown();
	}

	public void testBoxField() {
		this.b = new BoxField(5, 0, 4);
		assertNotNull(this.b);
	}

	public void testGet() {
		Box b = new Box(1,1, false);
		this.b.setBox(b);
		assertEquals(b, this.b.get(1, 1));
	}

}
